/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.comut.crud.pojo;

import com.comut.crud.pojo.poi.Poi;
import java.util.List;

/**
 * keep the update objects
 * this class also have the sql server updates attributes;
 * @author asantos
 */
public final class FindAndSet {
    
    //sql where part, only fields
    private String find;
    //sql update part, only fields
    private String update;
    
    //json, driver group part of find
    private String findDriverGroup;
    //json, driver group part of update
    private String updateDriverGroup;
    
    private Poi poi = null;
    
    private int id = -1;
    
    //json
    private String Object;
    
    //FindAndSet of driver Group
    private FindAndSet fasDriverGroup;
    
    private List<String> groupTags;

    public String getFind() {
        return find;
    }

    public void setFind(String find) {
        this.find = find;
    }

    public String getUpdate() {
        return update;
    }

    public void setUpdate(String update) {
        this.update = update;
    }

    public String getFindDriverGroup() {
        return findDriverGroup;
    }

    public void setFindDriverGroup(String findDriverGroup) {
        this.findDriverGroup = findDriverGroup;
    }

    public String getUpdateDriverGroup() {
        return updateDriverGroup;
    }

    public void setUpdateDriverGroup(String updateDriverGroup) {
        this.updateDriverGroup = updateDriverGroup;
    }
   
    
    public String getObject() {
        return Object;
    }

    public void setObject(String Object) {
        this.Object = Object;
    }

    public FindAndSet getFasDriverGroup() {
        return fasDriverGroup;
    }

    public void setFasDriverGroup(FindAndSet fasDriverGroup) {
        this.fasDriverGroup = fasDriverGroup;
    }

    public Poi getPoi() {
        return poi;
    }

    public void setPoi(Poi poi) {
        this.poi = poi;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<String> getGroupTags() {
        return groupTags;
    }

    public void setGroupTags(List<String> groupTags) {
        this.groupTags = groupTags;
    }
    
}
